package com.achao.utils;

/**
 * @Author: achao
 * @DateTime: 2022/8/9 19:30
 * @Description: TODO
 */
public class ParamUtils {

    /*服务器配置区*/

    // 服务器端口
    public static int PORT;


    /*响应配置区*/

    public static final String RESP_PROTOCOL = "HTTP/1.1";

    // 状态码
    public static final String SUCCESS_CODE = "200 OK";
    public static final String NOT_PERMISSION_CODE = "401 Unauthorized";
    public static final String NOT_FOUNT_CODE = "404 Not Found";
    public static final String NOT_METHOD_CODE = "405 Method Not Allowed";
    public static final String ERROR_CODE = "500 Internal Server Error";

    // 编码格式
    public static final String CONTENT_TYPE = "Content-Type:text/html;";
    public static final String UTF8 = "charset=UTF-8";
    public static final String GBK = "charset=GBK";


}
